/*
 * Copyright (C) 拾光分享网
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 * Version：V1.0.2(20230701).
 */
package top.hiai.common.group;

import top.hiai.common.model.SystemData;

/**
 * @Author www.hiai.top
 * @Email goodsking@163.com
 * @Message 更多资源尽在www.hiai.top
 * @Introduction 类的介绍: 系统配置类
 */

public class SystemDataService {

    public static final SystemDataService me = new SystemDataService();
    private SystemData systemDataDao = new SystemData().dao();

    public SystemData findByName(String groupName) {
        return systemDataDao.findFirst("SELECT * FROM bbs_system_data as a WHERE a.status=1 and a.is_del=0 and a.group_name=? ", groupName);
    }
}